@extends('layouts.app')

@section('content')
<div class="container">
    <div class="row">
        <div class="col-md-10 col-md-offset-1">
            <div class="panel panel-default">
                <div class="panel-heading">Dashboard</div>

                <div class="panel-body">

                     @foreach ($errors->all() as $error)
                        <p class="error">{{ $error }}</p>
                      @endforeach
                     

                      <form method="post" action="{{'/valiedForm'}}">
                        {!! csrf_field() !!}
                        <label>First name</label><input name="name"><br>
                        <label>Email address</label><input name="email"><br>
                        <input type="submit">
                      </form>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
